{% load i18n %}
<div class="opensearch_results" style="float:left;">
<div class="opensearch_page_info">
  <span class="results_count">
    {% trans "results" %}: {{page.paginator.count}}
  </span>
  <span class="results_pages">
    {% trans "pages" %}: 
    {{page.number}} / {{page.paginator.num_pages}}
  </span>
{% if page.has_previous %}
  <span class="results_prev">
    <a href="?{% if query %}{{query}}&{% endif %}page={{page.previous_page_number}}">
      {% trans "previous" %}
    </a>
  </span>
{% endif %}
{% if page.has_next %}
    <span class="results_next">
      <a href="?{% if query %}{{query}}&{% endif %}page={{page.next_page_number}}">
        {% trans "next" %}
      </a>
    </span>
{% endif %}
</div>
<div class="opensearch_results_table">
  <table>
{% for row in rows %}{{row}}{% endfor %}
  </table>
</div>
</div>
